package com.lovejes.app.domain.base;

import java.io.Serializable;


/**
 * This is an object that contains data related to the t_jes_fmenu table.
 * Do not modify this class because it will be overwritten if the configuration file
 * related to this class is modified.
 *
 * @hibernate.class
 *  table="t_jes_fmenu"
 */

public abstract class BaseTJesFmenu  implements Serializable {

	public static String REF = "TJesFmenu";
	public static String PROP_STATUS = "Status";
	public static String PROP_TYPE = "Type";
	public static String PROP_ISNEW = "Isnew";
	public static String PROP_REMARK = "Remark";
	public static String PROP_ISTNEW = "Istnew";
	public static String PROP_PARENTID = "Parentid";
	public static String PROP_ISIMG = "Isimg";
	public static String PROP_CREATETIME = "Createtime";
	public static String PROP_IMG = "Img";
	public static String PROP_TNEWDAY = "Tnewday";
	public static String PROP_ISTDUE = "Istdue";
	public static String PROP_MODIFYTIME = "Modifytime";
	public static String PROP_ISTUPVIEW = "Istupview";
	public static String PROP_LINKURL = "Linkurl";
	public static String PROP_ISLINK = "Islink";
	public static String PROP_ISTIMG = "Istimg";
	public static String PROP_ORDERIDX = "Orderidx";
	public static String PROP_ISTT = "Istt";
	public static String PROP_NEWDAY = "Newday";
	public static String PROP_NAME = "Name";
	public static String PROP_ISTVIDEO = "Istvideo";
	public static String PROP_ID = "Id";


	// constructors
	public BaseTJesFmenu () {
		initialize();
	}

	/**
	 * Constructor for primary key
	 */
	public BaseTJesFmenu (java.lang.String id) {
		this.setId(id);
		initialize();
	}

	protected void initialize () {}



	private int hashCode = Integer.MIN_VALUE;

	// primary key
	private java.lang.String id;

	// fields
	private java.lang.String name;
	private java.lang.String parentid;
	private java.util.Date createtime;
	private java.util.Date modifytime;
	private java.lang.String status;
	private java.lang.String type;
	private java.lang.String remark;
	private java.lang.Integer orderidx;
	private java.lang.String istimg;
	private java.lang.String istdue;
	private java.lang.String istvideo;
	private java.lang.String isimg;
	private java.lang.String img;
	private java.lang.String isnew;
	private java.lang.Integer newday;
	private java.lang.String istnew;
	private java.lang.Integer tnewday;
	private java.lang.String islink;
	private java.lang.String linkurl;
	private java.lang.String istupview;
	private java.lang.String istt;



	/**
	 * Return the unique identifier of this class
     * @hibernate.id
     *  generator-class="uuid"
     *  column="ID"
     */
	public java.lang.String getId () {
		return id;
	}

	/**
	 * Set the unique identifier of this class
	 * @param id the new ID
	 */
	public void setId (java.lang.String id) {
		this.id = id;
		this.hashCode = Integer.MIN_VALUE;
	}




	/**
	 * Return the value associated with the column: NAME
	 */
	public java.lang.String getName () {
		return name;
	}

	/**
	 * Set the value related to the column: NAME
	 * @param name the NAME value
	 */
	public void setName (java.lang.String name) {
		this.name = name;
	}



	/**
	 * Return the value associated with the column: PARENTID
	 */
	public java.lang.String getParentid () {
		return parentid;
	}

	/**
	 * Set the value related to the column: PARENTID
	 * @param parentid the PARENTID value
	 */
	public void setParentid (java.lang.String parentid) {
		this.parentid = parentid;
	}



	/**
	 * Return the value associated with the column: CREATETIME
	 */
	public java.util.Date getCreatetime () {
		return createtime;
	}

	/**
	 * Set the value related to the column: CREATETIME
	 * @param createtime the CREATETIME value
	 */
	public void setCreatetime (java.util.Date createtime) {
		this.createtime = createtime;
	}



	/**
	 * Return the value associated with the column: MODIFYTIME
	 */
	public java.util.Date getModifytime () {
		return modifytime;
	}

	/**
	 * Set the value related to the column: MODIFYTIME
	 * @param modifytime the MODIFYTIME value
	 */
	public void setModifytime (java.util.Date modifytime) {
		this.modifytime = modifytime;
	}



	/**
	 * Return the value associated with the column: STATUS
	 */
	public java.lang.String getStatus () {
		return status;
	}

	/**
	 * Set the value related to the column: STATUS
	 * @param status the STATUS value
	 */
	public void setStatus (java.lang.String status) {
		this.status = status;
	}



	/**
	 * Return the value associated with the column: TYPE
	 */
	public java.lang.String getType () {
		return type;
	}

	/**
	 * Set the value related to the column: TYPE
	 * @param type the TYPE value
	 */
	public void setType (java.lang.String type) {
		this.type = type;
	}



	/**
	 * Return the value associated with the column: REMARK
	 */
	public java.lang.String getRemark () {
		return remark;
	}

	/**
	 * Set the value related to the column: REMARK
	 * @param remark the REMARK value
	 */
	public void setRemark (java.lang.String remark) {
		this.remark = remark;
	}



	/**
	 * Return the value associated with the column: ORDERIDX
	 */
	public java.lang.Integer getOrderidx () {
		return orderidx;
	}

	/**
	 * Set the value related to the column: ORDERIDX
	 * @param orderidx the ORDERIDX value
	 */
	public void setOrderidx (java.lang.Integer orderidx) {
		this.orderidx = orderidx;
	}



	/**
	 * Return the value associated with the column: ISTIMG
	 */
	public java.lang.String getIstimg () {
		return istimg;
	}

	/**
	 * Set the value related to the column: ISTIMG
	 * @param istimg the ISTIMG value
	 */
	public void setIstimg (java.lang.String istimg) {
		this.istimg = istimg;
	}



	/**
	 * Return the value associated with the column: ISTDUE
	 */
	public java.lang.String getIstdue () {
		return istdue;
	}

	/**
	 * Set the value related to the column: ISTDUE
	 * @param istdue the ISTDUE value
	 */
	public void setIstdue (java.lang.String istdue) {
		this.istdue = istdue;
	}



	/**
	 * Return the value associated with the column: ISTVIDEO
	 */
	public java.lang.String getIstvideo () {
		return istvideo;
	}

	/**
	 * Set the value related to the column: ISTVIDEO
	 * @param istvideo the ISTVIDEO value
	 */
	public void setIstvideo (java.lang.String istvideo) {
		this.istvideo = istvideo;
	}



	/**
	 * Return the value associated with the column: ISIMG
	 */
	public java.lang.String getIsimg () {
		return isimg;
	}

	/**
	 * Set the value related to the column: ISIMG
	 * @param isimg the ISIMG value
	 */
	public void setIsimg (java.lang.String isimg) {
		this.isimg = isimg;
	}



	/**
	 * Return the value associated with the column: IMG
	 */
	public java.lang.String getImg () {
		return img;
	}

	/**
	 * Set the value related to the column: IMG
	 * @param img the IMG value
	 */
	public void setImg (java.lang.String img) {
		this.img = img;
	}



	/**
	 * Return the value associated with the column: ISNEW
	 */
	public java.lang.String getIsnew () {
		return isnew;
	}

	/**
	 * Set the value related to the column: ISNEW
	 * @param isnew the ISNEW value
	 */
	public void setIsnew (java.lang.String isnew) {
		this.isnew = isnew;
	}



	/**
	 * Return the value associated with the column: NEWDAY
	 */
	public java.lang.Integer getNewday () {
		return newday;
	}

	/**
	 * Set the value related to the column: NEWDAY
	 * @param newday the NEWDAY value
	 */
	public void setNewday (java.lang.Integer newday) {
		this.newday = newday;
	}



	/**
	 * Return the value associated with the column: ISTNEW
	 */
	public java.lang.String getIstnew () {
		return istnew;
	}

	/**
	 * Set the value related to the column: ISTNEW
	 * @param istnew the ISTNEW value
	 */
	public void setIstnew (java.lang.String istnew) {
		this.istnew = istnew;
	}



	/**
	 * Return the value associated with the column: TNEWDAY
	 */
	public java.lang.Integer getTnewday () {
		return tnewday;
	}

	/**
	 * Set the value related to the column: TNEWDAY
	 * @param tnewday the TNEWDAY value
	 */
	public void setTnewday (java.lang.Integer tnewday) {
		this.tnewday = tnewday;
	}



	/**
	 * Return the value associated with the column: ISLINK
	 */
	public java.lang.String getIslink () {
		return islink;
	}

	/**
	 * Set the value related to the column: ISLINK
	 * @param islink the ISLINK value
	 */
	public void setIslink (java.lang.String islink) {
		this.islink = islink;
	}



	/**
	 * Return the value associated with the column: LINKURL
	 */
	public java.lang.String getLinkurl () {
		return linkurl;
	}

	/**
	 * Set the value related to the column: LINKURL
	 * @param linkurl the LINKURL value
	 */
	public void setLinkurl (java.lang.String linkurl) {
		this.linkurl = linkurl;
	}



	/**
	 * Return the value associated with the column: ISTUPVIEW
	 */
	public java.lang.String getIstupview () {
		return istupview;
	}

	/**
	 * Set the value related to the column: ISTUPVIEW
	 * @param istupview the ISTUPVIEW value
	 */
	public void setIstupview (java.lang.String istupview) {
		this.istupview = istupview;
	}



	/**
	 * Return the value associated with the column: ISTT
	 */
	public java.lang.String getIstt () {
		return istt;
	}

	/**
	 * Set the value related to the column: ISTT
	 * @param istt the ISTT value
	 */
	public void setIstt (java.lang.String istt) {
		this.istt = istt;
	}




	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof com.lovejes.app.domain.TJesFmenu)) return false;
		else {
			com.lovejes.app.domain.TJesFmenu tJesFmenu = (com.lovejes.app.domain.TJesFmenu) obj;
			if (null == this.getId() || null == tJesFmenu.getId()) return false;
			else return (this.getId().equals(tJesFmenu.getId()));
		}
	}

	public int hashCode () {
		if (Integer.MIN_VALUE == this.hashCode) {
			if (null == this.getId()) return super.hashCode();
			else {
				String hashStr = this.getClass().getName() + ":" + this.getId().hashCode();
				this.hashCode = hashStr.hashCode();
			}
		}
		return this.hashCode;
	}


	public String toString () {
		return super.toString();
	}


}